package com.example.administrator.taxicar.utils;

import android.os.Environment;

/**
 * Created by sven on 2016/1/6.
 * 常量类
 */
public class Constants {
    public static final String EXTERNAL_STORAGE_DIRECTORY = Environment.getExternalStorageDirectory().getPath();
    /**
     * 裁剪图片地址,图片在Intent之间传输有大小限制
     */
    public static final String FILENAME = EXTERNAL_STORAGE_DIRECTORY + "/crop.png";
    /**拍照的图片路径*/
    public static final String PHOTONAME = EXTERNAL_STORAGE_DIRECTORY+ "/aa.png";

    /**MainActivity 与TouxiangActivity 跳转*/
    public static final int TOUXIANG_ACTIVITY=666;

    /**MainActivity 与LoginActivity跳转*/
    public static final int LOGIN_ACTIVITY=777;

    public static final int TAKE_PHOTO = 1;
    public static final int PICK_PHOTO = 2;
    public static final int CROP_BEAUTY = 3;

    public static final String USER_LOGIN="user_login";
    public static final String LOGIN="Login";

    //记录初始位置的文件名
    public static final String ADRESS="adress";
    //位置数据
    public static final String ADRESS_STR="adress_str";
    //跳转adressActivity的标识
    public  static final int ADRESS_ACTIVITY=99;

    public static final String ADRESS_CITY="adress_city";

    public static final String SEARCH_HISTORY = "search_history";
    //选择的地点
    public static final String ADRESS_SELECTOR="adress_selector";
    //输入的出发地
    public static final String ADRESS_SHURU="adress_shuru";

    public static final String ADRESS_END="adress_end";

    public static final String START="start";

    //AdressFrgament的广播
    public static final String ADRESSFRAGMENT_BRODCAST="ADRESSFRAGMENT_BRODCAST";
}
